package cn.edu.ctgu.ch1.performance;

import org.openjdk.jmh.results.format.ResultFormatType;
import org.openjdk.jmh.runner.Runner;
import org.openjdk.jmh.runner.RunnerException;
import org.openjdk.jmh.runner.options.Options;
import org.openjdk.jmh.runner.options.OptionsBuilder;

/**
 * @author tiger54910
 * @create 2025/1/31 20:43
 */
public class WordExistsPerformanceTestRunner {
  public static void main(String[] args) throws RunnerException {
    Options options =
        new OptionsBuilder().include(WordExistsPerformanceBenchmark.class.getSimpleName())
                .resultFormat(ResultFormatType.JSON)
                .result("wordsService-results.json")
                .build();
    new Runner(options).run();
  }
}
